package com.reliable.service.domain;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 任务对象 reliable_task
 *
 * @author ruoyi
 * @date 2025-07-09
 */
@Data
@ApiModel(value = "任务对象")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ReliableTask extends BaseEntitys {
    private static final long serialVersionUID = 1L;

    /**
     * 任务id
     */
    @ApiModelProperty(value = "任务id", position = 0)
    private Long id;


    @ApiModelProperty(value = "任务加密id", position = 15)
    @TableField(exist = false)
    private String businessId;
    
    /**
     * 任务名称
     */
    @ApiModelProperty(value = "任务名称", position = 1)
    private String taskName;

    /**
     * 随机编码
     */
    @ApiModelProperty(value = "随机编码", position = 2)
    private String taskCode;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间", position = 3)
    private Date createTime;

    /**
     * 创建人id
     */
    @ApiModelProperty(value = "创建人id", position = 4)
    private Long createBy;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间", position = 5)
    private Date updateTime;

    /**
     * 修改人id
     */
    @ApiModelProperty(value = "修改人id", position = 6)
    private Long updateBy;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态", position = 7)
    private Integer status;

    /**
     * 触发次数
     */
    @ApiModelProperty(value = "触发次数", position = 8)
    private Integer touchNum;

    /**
     * 任务描述
     */
    @ApiModelProperty(value = "任务描述", position = 9)
    private String taskDescription;

    /**
     * 归属地
     */
    @ApiModelProperty(value = "归属地", position = 10)
    private String addressName;

    /**
     * 设备数
     */
    @ApiModelProperty(value = "设备数", position = 11)
    private Integer deviceNum;

    /**
     * 图片数
     */
    @ApiModelProperty(value = "图片数", position = 12)
    private Integer picNum;

    /**
     * 源码数
     */
    @ApiModelProperty(value = "源码数", position = 13)
    private Integer sourceNum;

    /**
     * 任务逻辑删除 0.未删除 1.删除
     */
    @ApiModelProperty(value = "任务逻辑删除 0.未删除 1.删除", position = 14)
    private Integer delFlag;
}